package com.rightsidetech.system.dtos.request;

import com.rightsidetech.commom.base.TimeQueryRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

/**
 * @Author: yhr
 * @Date: 2021-12-09 15:33
 */
@Data
public class SysStoreStorkPageReq extends TimeQueryRequest implements Serializable {
    @ApiModelProperty("门店id")
    private Long storeId;
    @ApiModelProperty(value = "代理商id")
    private Long agentInfoId;
    @ApiModelProperty("状态(0正常 1缺货)")
    @Range(min = 0,max = 1,message = "状态不正确")
    private Byte storkStatus;

    @ApiModelProperty(value = "预警值",hidden = true)
    private Long warn;

    @ApiModelProperty(value = "大区id",hidden = true)
    private Long areaId;
}
